package com.ranyk.www.base;

import com.ranyk.www.support.page.PageInfo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * CLASS_NAME: BasePageDTO.java <br/>
 *
 * @author ranyk           <br/>
 * @version V1.0           <br/>
 * @decription: 基础分页对象  <br/>
 * @date: 2022-04-01 <br/>
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class BasePageDTO<E> implements Serializable {

    @Serial
    private static final long serialVersionUID = -1125005187233483422L;

    /**
     * 分页信息对象
     */
    private PageInfo pageInfo;
    /**
     * 分页实体列表
     */
    private List<E> list;

}
